package com.boyuan.system.utils;

/**
 * 操作系统选择
 *
 * @author ply
 * @date 2023-11-20
 */
public class OsSelect {
    public static boolean isLinux() {
        return System.getProperty("os.name").toLowerCase().contains("linux");
    }

    public static boolean isWindows() {
        return System.getProperty("os.name").toLowerCase().contains("windows");
    }
}
